﻿function Base() {
}

Base.prototype.init = function(point, title) {
    this.point = point;
    this.marker = new GMarker(point, { icon: this.constructor.mapIcon, title: title});
    this.smallMarker = new GMarker(point, { icon: this.constructor.smallMapIcon, clickable: false});
    this.health = Base.maxHealth;
}

//Static properties
Base.maxHealth = 20;